import React, { Component } from 'react';
import './Singers.css'
import SingerTop from '../../comnponents/SingerTop/SingerTop';
import SingerBottom from '../../comnponents/SingerBottom/SingerBottom';

class Singers extends Component {
  constructor(props) {
    super(props)
    console.log(props.location.params.id);
    this.state = {
      id:props.location.params.id
    }
  }
  componentDidMount(){
    
  }
  render() {
    return (
      <div>
        <SingerTop name={this.props.location.params.id}></SingerTop>
        <SingerBottom sing={this.props.location.params.id}></SingerBottom>
      </div>
    );
  }
}

export default Singers;